package com.k2data.k2app.domain;

/**
 * Created by clb on 17-7-21.
 */
import lombok.Data;
import org.apache.activemq.command.ActiveMQMapMessage;

import javax.jms.JMSException;

@Data
public class PasMqMessage extends ActiveMQMapMessage {
	private String projectId;

	private String instanceId;

	private String resultContantUrl;

	private String resultUrl;

	private String messagePas;

	private String status;

	private long timestamp;

	public PasMqMessage(ActiveMQMapMessage message) throws JMSException {
		super();
		this.messageId = message.getMessageId();
		this.map = message.getContentMap();
	}

	@Override
	public long getTimestamp() {
		return timestamp;
	}

	@Override
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

}